﻿using Gwn.Library.MvpVm.Base;
using Gwn.Library.MvpVm.Constants;
using Gwn.Library.MvpVm.Interfaces;
using Microsoft.Practices.Unity;

namespace Gwn.Module.UserManager.Commands
{
    public class ActivateLoginViewCommand : CommandBase
    {
        [Dependency]
        public IApplicationController AppController { get; set; }

        public override void Execute(object parameter)
        {
            base.Execute(parameter);

            AppController.ActivateView(ConstantModules.SecurityModule);

        }
    }
}
